package com.project.service.impl.front;

import com.project.dao.IDaoCustomer;
import com.project.service.front.ILoginService;
import com.project.service.impl.BaseServiceImpl;
import com.project.webapp.form.front.LoginForm;

public class LoginServiceImpl extends BaseServiceImpl implements ILoginService {
    IDaoCustomer daoCustomer;

    public IDaoCustomer getDaoCustomer() {
        return daoCustomer;
    }

    public void setDaoCustomer(IDaoCustomer daoCustomer) {
        this.daoCustomer = daoCustomer;
    }

    @Override
    public boolean validLoginCustomer(LoginForm loginForm) throws Exception {
        return daoCustomer.validLoginCustomer(loginForm);
    }

}
